package com.hellloop.pim.alphabeat.entity;

import com.hellloop.pim.alphabeat.type.LivingRole;
import com.hellloop.pim.alphabeat.type.RoomState;

public class Player {
	/** Player Attributes **/
	protected int playerId;
	protected String playerName;
	protected LivingRole role;
	protected RoomState roomState;

	/** Accessors **/
	public int getPlayerId() { return playerId;}
	public String getPlayerName() { return playerName;}
	public LivingRole getRole() { return role;}
	public RoomState getRoomState() { return roomState;}

	/** Mutators **/
	public void setPlayerId(int playerId) { this.playerId = playerId;}
	public void setPlayerName(String playerName) { this.playerName = playerName;}
	public void setRole(LivingRole role) { this.role = role;}
	public void setRoomState(RoomState roomState) { this.roomState = roomState;}
	
	/** Constructures **/
	public Player( String name, int id) {
		setPlayerId(id);
		setPlayerName(name);
	}
	public Player( String name, int id, LivingRole role) {
		setPlayerId(id);
		setPlayerName(name);
		setRole(role);
	}
}
